package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.math.BigDecimal;

public class ProductStar implements Serializable {
    /**
     * 主键id
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 测评商品id
     *
     * @mbg.generated
     */
    private Integer productId;

    /**
     * 价格星数
     *
     * @mbg.generated
     */
    private BigDecimal priceStar;

    /**
     * 质量星数
     *
     * @mbg.generated
     */
    private BigDecimal qualityStar;

    /**
     * 实物相符星数
     *
     * @mbg.generated
     */
    private BigDecimal matchStar;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public BigDecimal getPriceStar() {
        return priceStar;
    }

    public void setPriceStar(BigDecimal priceStar) {
        this.priceStar = priceStar;
    }

    public BigDecimal getQualityStar() {
        return qualityStar;
    }

    public void setQualityStar(BigDecimal qualityStar) {
        this.qualityStar = qualityStar;
    }

    public BigDecimal getMatchStar() {
        return matchStar;
    }

    public void setMatchStar(BigDecimal matchStar) {
        this.matchStar = matchStar;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", productId=").append(productId);
        sb.append(", priceStar=").append(priceStar);
        sb.append(", qualityStar=").append(qualityStar);
        sb.append(", matchStar=").append(matchStar);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}